package main

import "golang.org/x/tour/pic"
func Pic(dx, dy int) [][]uint8 {
	m := make([][]uint8,dy)
	for x := range m{
		b := make([]uint8,dx)
		for y := range b{
			b[y] = uint8(x^y)
		}
		m[x] = b
	}
	return m
}

func main() {
	pic.Show(Pic)
}